<?php

namespace app\apisell\controller\admin;

use app\apisell\service\ExaminePopu\ExaminePopuService;
use app\BaseController;
use app\common\utils\Res;

class ExaminePopu extends BaseController
{
    //推广员审批列表
    public function getList()
    {
        $param = $this->request->param();
        $result = ExaminePopuService::getList($param);
        return Res::ok($result);
    }
    
    //操作-通过，拒绝
    public function operation()
    {
        $param = $this->request->param();
        $operate_id = $this->request->popuId;
        $result = ExaminePopuService::operation($param,$operate_id);
        return Res::ok($result);
    }
}